using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN SinhVienMonHocService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: SinhVienMonHocService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class SinhVienMonHocService : ISinhVienMonHocService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: SinhVienMonHoc_ID</para>
		/// <para>Output: SinhVienMonHocEntity</para>
		///</summary>
		public SinhVienMonHocEntity SelectOne(int SinhVienMonHoc_ID){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.SelectOne(SinhVienMonHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SinhVienMonHocEntity</para>
		///</summary>
		public List<SinhVienMonHocEntity> SelectAll(){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SinhVienMonHocEntity</para>
		///</summary>
		public List<SinhVienMonHocEntity> SelectAllFilter(string strFilter){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: SinhVienMonHocEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(SinhVienMonHocEntity o){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: SinhVienMonHocEntity</para>
		/// <para>Output: SinhVienMonHocEntity</para>
		///</summary>
		public SinhVienMonHocEntity SaveRet(SinhVienMonHocEntity o){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of SinhVienMonHocEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<SinhVienMonHocEntity> list){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of SinhVienMonHocEntity</para>
		/// <para>Output: List of SinhVienMonHocEntity</para>
		///</summary>
		public List<SinhVienMonHocEntity> SaveListRet(List<SinhVienMonHocEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: SinhVienMonHocEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(SinhVienMonHocEntity o){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of SinhVienMonHocEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<SinhVienMonHocEntity> list){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSinhVien_ID</para>
		/// <para>Input: NewSinhVien_ID,SinhVienMonHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSinhVien_ID(int NewSinhVien_ID,int SinhVienMonHoc_ID){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.UpdateSinhVien_ID(NewSinhVien_ID,SinhVienMonHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMonHoc_ID</para>
		/// <para>Input: NewMonHoc_ID,SinhVienMonHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMonHoc_ID(int NewMonHoc_ID,int SinhVienMonHoc_ID){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.UpdateMonHoc_ID(NewMonHoc_ID,SinhVienMonHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateHocKy_ID</para>
		/// <para>Input: NewHocKy_ID,SinhVienMonHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateHocKy_ID(int NewHocKy_ID,int SinhVienMonHoc_ID){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.UpdateHocKy_ID(NewHocKy_ID,SinhVienMonHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNamHoc_ID</para>
		/// <para>Input: NewNamHoc_ID,SinhVienMonHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNamHoc_ID(int NewNamHoc_ID,int SinhVienMonHoc_ID){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.UpdateNamHoc_ID(NewNamHoc_ID,SinhVienMonHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNamThu</para>
		/// <para>Input: NewNamThu,SinhVienMonHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNamThu(Byte NewNamThu,int SinhVienMonHoc_ID){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.UpdateNamThu(NewNamThu,SinhVienMonHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateIsDat</para>
		/// <para>Input: NewIsDat,SinhVienMonHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateIsDat(bool NewIsDat,int SinhVienMonHoc_ID){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.UpdateIsDat(NewIsDat,SinhVienMonHoc_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: SinhVienMonHocEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(SinhVienMonHocEntity o){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: SinhVienMonHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int SinhVienMonHoc_ID){
			SinhVienMonHocDAO dao = new SinhVienMonHocDAO();
			return dao.DeleteByID(SinhVienMonHoc_ID);
		}
		#endregion

		#region Select join to HocKyMonHocNamHocSinhVien functions
		#endregion

		#region Select join to HocKy functions
		#endregion

		#region Select join to MonHoc functions
		#endregion

		#region Select join to NamHoc functions
		#endregion

		#region Select join to SinhVien functions
		#endregion

		#region Select,delete by SinhVienMonHoc_ID functions
		#endregion

		#region Select,delete by MonHoc_ID functions
		#endregion

		#region Select,delete by HocKy_ID functions
		#endregion

		#region Select,delete by NamHoc_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END SinhVienMonHocWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

